import cv2

import numpy as np

from numpy import mean

image=cv2.imread(r"000484577664.jpg")

np.set_printoptions(threshold=np.inf)

hue_image = cv2.cvtColor(image, cv2.COLOR_BGR2HSV)

low_range = np.array([170, 185, 140])

high_range = np.array([255, 255, 255])

th = cv2.inRange(hue_image, low_range, high_range)

index1 = th == 255

img = np.zeros(image.shape, np.uint8)

img[:, :] = (255,255,255)

img[index1] = image[index1]#(0,0,255)

cv2.imshow('enhanced',img)

cv2.imwrite("img.jpg",img)

cv2.waitKey(0)